/**
 * 加载百度地图
 *
 * @param {string} callback
 * @return {void}
 */
export const loadBMap = (callback: string): void => {
  const script = document.createElement("script")
  // script.src = "http://api.map.baidu.com/api?v=2.0&ak=Fwzmf4gcG9hYKi65D5SygldvrIaQTpuc&callback=" + callback;
  script.src = `http://api.map.baidu.com/api?v=2.0&ak=Fwzmf4gcG9hYKi65D5SygldvrIaQTpuc&callback=${callback}`
  document.body.appendChild(script)
}